xquery version "1.0-ml";

module namespace pnav = "http://porvino.com/nav";

declare function globalNav() {
    <div style="margin:20px;">
        <a href="/porvino/lib/newWine.xqy">Add Wine</a> | 
        <a href="/porvino/list/listWines.xqy">List All Wines</a> | 
        Search <input type="text" onchange="location.href='/porvino/search/searchWines.xqy?term='+this.value;"></input>
    </div>
};